/**
 * output package name
 */
package com.kingdee.eas.custom;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class result extends StringEnum
{
    public static final String YES_VALUE = "1";
    public static final String NO_VALUE = "2";

    public static final result yes = new result("yes", YES_VALUE);
    public static final result no = new result("no", NO_VALUE);

    /**
     * construct function
     * @param String result
     */
    private result(String name, String result)
    {
        super(name, result);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static result getEnum(String result)
    {
        return (result)getEnum(result.class, result);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(result.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(result.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(result.class);
    }
}